package org.example.erpapicommon.service;



import org.example.erpapicommon.Util.Pageable;
import org.example.erpapicommon.Util.Param.ProductQueryParam;
import org.example.erpapicommon.model.Product;
import org.example.erpapicommon.model.TProduct;

import java.util.Optional;

public interface ProductService {
    default Optional<Product> getProductById(Integer id) {
        return null;
    }
    default Pageable<TProduct> PageProducts(ProductQueryParam param) {
        return null;
    }
    default Pageable<TProduct> PageProductsbySupplierId(ProductQueryParam param, Integer supplierId) {
        return null;
    }
}
